package com.fuyao.cloud.admin.api.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.time.LocalDate;

/**
 * 人员信息
 *
 * @author 碎月
 * @date 2021-12-16 10:32:13
 */
@Data
@ColumnWidth(30)
@ApiModel(value = "人员信息导出信息")
public class UserinfoExportVO {

    private static final long serialVersionUID = 1L;

    @ExcelProperty(value="人员编号")
    private String personNumber;

    @ExcelProperty(value="登录名称")
    private String loginname;

    @ExcelProperty(value="姓名")
    private String name;

    @ExcelProperty(value="出生日期")
    private LocalDate birthday;

    @ExcelProperty(value="人员类型")
    private String type;

    @ExcelProperty(value="籍贯")
    private String nativePlace;

    @ExcelProperty(value="户口所在地")
    private String hukou;

    @ExcelProperty(value="入职时间")
    private LocalDate enterdeptDate;

    @ExcelProperty(value="婚姻状况")
    private String maritalStatus;

    @ExcelProperty(value="身份证号码")
    private String idNumber;

    @ExcelProperty(value="民族")
    private String nation;

    @ExcelProperty(value="出生地")
    private String birthplace;

    @ExcelProperty(value="参加工作时间")
    private LocalDate workdate;

    @ExcelProperty(value="健康状况")
    private String health;

    @ExcelProperty(value="最高学历")
    private String degree;

    @ExcelProperty(value="人员状态")
    private String status;

    @ExcelProperty(value="电话号码")
    private String telephone;

    @ExcelProperty(value="手机号码")
    private String mobile;

    @ExcelProperty(value="职    务")
    private String post;

    @ExcelProperty(value="性别")
    private String gender;

    @ExcelIgnore
    @ExcelProperty(value="退休日期")
    private LocalDate retireDate;

    @ExcelIgnore
    @ExcelProperty(value = "职称")
    private String profesTitle;

    @ExcelIgnore
    @ExcelProperty(value = "电子邮件")
    private String email;

    @ExcelIgnore
    @ExcelProperty(value = "传真")
    private String faxno;

    @ExcelIgnore
    @ExcelProperty(value = "工号")
    private String cardId;
}
